<template>
    <h5>父组件</h5>
    <div class="box">
        <GlobalComponent/>
        <LocalComponent/>
    </div>
</template>

<style>
    .box {
        display: flex;
    }
    h5 {
        border: 1px dotted black;
    }

    :deep(.title) {
        border: 3px dotted black;
    }
</style>

<script setup>
   import LocalComponent from './LocalComponent.vue';
</script>